package syntax_tree;

import visitor.TypeVisitor;
import visitor.Visitor;

public class TMainClass {

	public TIdentifier id1, id2;
	public TStatement st;
	
	public TMainClass(TIdentifier id1,TIdentifier id2, TStatement st){
		this.id1 = id1;
		this.id2 = id2;
		this.st = st;
	}
	
	public void accept(Visitor v) {
	    v.visit(this);
	}

	public TType accept(TypeVisitor v) {
	    return v.visit(this);
	}
	
}
